package com.zq.it.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Major entity. @author MyEclipse Persistence Tools
 */

public class Major implements java.io.Serializable {

	// Fields

	private Integer majorId;
	private Academy academy;
	private String majorName;
	private String majorIntro;
	private Date createDate;

	/** default constructor */
	public Major() {
	}
	/** full constructor */
	public Major(Integer majorId, String majorName, String majorIntro,
			Date createDate,Academy academy) {
		this.majorId=majorId;
		this.academy = academy;
		this.majorName = majorName;
		this.majorIntro = majorIntro;
		this.createDate = createDate;		
	}

	// Property accessors

	public Integer getMajorId() {
		return this.majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	public Academy getAcademy() {
		return this.academy;
	}

	public void setAcademy(Academy academy) {
		this.academy = academy;
	}

	public String getMajorName() {
		return this.majorName;
	}

	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}

	public String getMajorIntro() {
		return this.majorIntro;
	}

	public void setMajorIntro(String majorIntro) {
		this.majorIntro = majorIntro;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}